package org.edu.modules.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.mapping.StatementType;
import org.edu.modules.system.entity.ProcessStep;
import org.edu.modules.system.entity.ProcessType;

/**
 * @Author lbh
 * @Date 2025/2/13 上午9:10
 * @Version 1.0
 */
public interface ProcessTypeMapper  extends BaseMapper<ProcessType> {

    @Options(statementType = StatementType.CALLABLE)
    void saveProcessType(@Param("id") Integer id,
                         @Param("name") String name,
                         @Param("description") String description,
                         @Param("version") String version,
                         @Param("isActive") Integer isActive,
                         @Param("showColumn") String showColumn);



    @Options(statementType = StatementType.CALLABLE)
    int getLastInsertId();
}
